<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h2 th:text="${msg}"></h2>
<table>
    <tr th:each="user,state : ${users}">
        <td th:text="${state.index}+1"></td>
        <td th:text="${user.id}"></td>
        <td th:text="${user.age}"></td>
        <td th:text="${user.name}"></td>
        <td th:text="${user.gender}"></td>
    </tr>
</table>
<hr>
<hr>
    <div th:object="${user}">
        <span th:text="*{name}"></span>
        <span th:text="*{gender}"></span>
        <span th:text="*{id}"></span>
        <span th:text="*{age}"></span>
    </div>

<hr>
<a th:href="'http://api.gmall.com/pms/brand/' + ${user.age}">初始化点我</a>
<a th:href="|http://api.gmall.com/pms/brand/${user.age}|">点我</a>
<hr>
<a th:href="@{http://api.gmall.com/pms/brand/(id=${user.age})}">高级点我</a>  //http://api.gmall.com/pms/brand?id=1
<a th:href="@{http://api.gmall.com/pms/brand/{id}(id=${user.age})}">高级点我</a> //http://api.gmall.com/pms/brand/id=1
<a th:href="@{http://api.gmall.com/pms/brand(pageNum=${user.age},pageSize=${user.age})}">分页编辑</a>
<a th:href="@{http://api.gmall.com/pms/brand(pageNum=1,pageSize=2)}">分页编辑</a>
</body>
</html>